/*@Author S.Genikhov
/*Creation Date 8/06/2010
/*Last modifed 28/07/2010
/*@Brief Brief the most usabale bit vector commands:SET and GET implementation*/
#ifndef BITVERCTOR_INCLUDED
#define BITVERCTOR_INCLUDED
/*Set 0 in specified index*/

void Bitv_ClearBit(unsigned char *bv,size_t index);
/*Set 1 in specified index*/
void Bit_Set(unsigned char *bv,size_t index);
/**priduce bit vector of 100 bit size**/
unsigned char* Bit_Createvector(size_t bitvectorsize);
/***destroy bit vector*******/
void Bit_Destroivector(void* bv);
/****get value, goes to some bit of vector bv, and  according to index and reads (cppyed bit-bit) to vector 'readvector' ,max. 8 read 8 bits */
void Bit_Getvalue(unsigned char* bv,unsigned char* a,size_t index,size_t nbits);
#endif /* BITVERCTOR_INCLUDED*/
